package com.sexymobileframework.resource;

import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;

import com.sexymobileframework.uicomponent.UIComponentDescriptor;



public class ResourceTask extends Task
{
	public String widgetConfigDir;
	public String widgetConfigFile;
	
	/**
	 * The method executing the task.
	 * 
	 * @throws BuildException
	 */
	public void execute() throws BuildException
	{
		System.out.println("-------------- EXECUTING THE TASK --------------");
		UIComponentDescriptor widgetDescriptor = new UIComponentDescriptor(widgetConfigDir, widgetConfigFile);
	}
	
	public void setWidgetConfigDir(String widgetConfigDir)
	{
		this.widgetConfigDir = widgetConfigDir;
	}
	
	public void setWidgetConfigFile(String widgetConfigFile)
	{
		this.widgetConfigFile = widgetConfigFile;
	}
}
